import QtQuick 2.0

Rectangle{
    color: "#1B262D"
    opacity: 0.5
    height: 100
    width: 1080

    Row{
        spacing: 10
        anchors.verticalCenter: parent.verticalCenter

        WarnIcon{//1
            iconSource: "qrc:/grader/imgs/high_light_main.png"
            visible: can_manager.high_beam_status
        }
        WarnIcon{//2
            iconSource: "qrc:/grader/imgs/open_light_main.png"
            visible: can_manager.outline_lamp
        }
        WarnIcon{//3
            iconSource: "qrc:/grader/imgs/parking_main.png"
            visible: can_manager.park_warning_light
        }
        WarnIcon{//4
            iconSource: "qrc:/grader/imgs/engine_throttle_auto_mode.png"
            visible: can_manager.engine_throttle_auto_mode
        }
        WarnIcon{//5
            iconSource: "qrc:/grader/imgs/emergency_turn_indicator.png"
            visible: can_manager.emergency_turn_indicator
        }
        WarnIcon{//6
            iconSource: "qrc:/grader/imgs/throttle_lock_indicator.png"
            visible: can_manager.throttle_lock_indicator
        }
        move: Transition {
            NumberAnimation { properties: "x,y"; duration: 1000 }
        }
    }

}
